<?php
/*
 * @Author: lokei
 * @Date: 2022-11-05 21:45:10
 * @LastEditors: lokei
 * @LastEditTime: 2022-11-09 15:49:24
 * @Description: 
 */
$router->group(['prefix' => env('ROUTER_PREFIX') . 'api'], function () use ($router) {
	
	/** 调度中心 */
	$router->group(['prefix' => 'schedule/slot', 'middleware' => 'auth'], function () use ($router) {
		$router->get('statusOfMe', [
			'as' => 'slotStatusOfMe', 'uses' => '\App\Http\Controllers\Schedule\SlotController@statusOfMe'
		]);
		$router->post('add', [
			'as' => 'slotAdd', 'uses' => '\App\Http\Controllers\Schedule\SlotController@add'
		]);
		$router->post('delete', [
			'as' => 'slotDelete', 'uses' => '\App\Http\Controllers\Schedule\SlotController@delete'
		]);
    });

});